package com.electricfan.action;

import java.util.List;

import com.electricfan.bean.Product;
import com.electricfan.service.IProductService;

/**
 * 商品展示action 
 * @author Jolly
 * @date 2013-11-4 
 */
public class ProductAction extends BaseAction
{

    private static final long serialVersionUID = -1870489119045541902L;

    private Product product;

    private IProductService productService;

    public String searchByCondition()
    {
        List<Product> proList = productService.find(product);

        return SUCCESS;
    }

    public Product getProduct()
    {
        return product;
    }

    public void setProduct(Product product)
    {
        this.product = product;
    }

    public void setProductService(IProductService productService)
    {
        this.productService = productService;
    }

}
